package org.xxpay.service.dao.mapper;

import org.apache.ibatis.annotations.Param;
import org.xxpay.core.entity.SysLoginFailIpRecord;
import org.xxpay.core.entity.SysLoginFailIpRecordExample;

import java.util.List;

public interface SysLoginFailIpRecordMapper {
    long countByExample(SysLoginFailIpRecordExample example);

    int deleteByExample(SysLoginFailIpRecordExample example);

    int deleteByPrimaryKey(String ip);

    int insert(SysLoginFailIpRecord record);

    int insertSelective(SysLoginFailIpRecord record);

    List<SysLoginFailIpRecord> selectByExample(SysLoginFailIpRecordExample example);

    SysLoginFailIpRecord selectByPrimaryKey(String ip);

    int updateByExampleSelective(@Param("record") SysLoginFailIpRecord record, @Param("example") SysLoginFailIpRecordExample example);

    int updateByExample(@Param("record") SysLoginFailIpRecord record, @Param("example") SysLoginFailIpRecordExample example);

    int updateByPrimaryKeySelective(SysLoginFailIpRecord record);

    int updateByPrimaryKey(SysLoginFailIpRecord record);
}